<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript" src="js/jquery-1.12.2.min.js" ></script>
	</head>
	<body>
		
		<!--<div id="test">天气暖和了</div>
		<div class="c1">是电脑呢</div>
		<div class="c1">速度是诋毁</div>-->
		
		
		<div id="test">天气暖和了</div>
		
		<script>
			//var info = $("div").html();
			//alert(info);
			
			//var a = $("#test").html();
			//alert(a);
			//var a = document.getElementById("test");
			//alert(a.innerHTML);
			
			//alert($(".c1").html());
			//alert($(".c1").text());
			//alert($(".c1").length);
			//var a = document.getElementsByClassName("c1");
			//alert(a.length);
			
            //alert($("div").length);
            
            //var a = document.getElementById("test");
            //var info = $(a).html();
            //alert(info);
            
              //var a = $("#test")[0].innerHTML;
              var a = $("#test").get(0).innerText;
              alert(a)
		
		</script>
		
	</body>
</html>
